package com.freesky.web.manager.service;

import com.freesky.common.utils.reponse.JSONResponse;

import javax.servlet.http.HttpServletRequest; /**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 9:23 2019-01-11
 * @description:
 */
public interface ILoginService {
    /**
     * 验证登录
     * @param username
     * @param password
     * @param verifyCode 验证码
     * @param request
     * @return
     */
    JSONResponse validateLogin(String username, String password, String verifyCode, HttpServletRequest request);

    /**
     * 退出登录
     * @return
     */
    String logout();
}
